package po;

import java.sql.Date;
import java.util.Set;

public class Member extends Po{
	
	public String id;
	public String name;
	public String sex;
	public Date birthday;
	public String telNum;
	public int credit;
	public int numberOfDiscountCoupon;
	public int numberOfEquivalentCoupon;
	public Set<String> bookIDSet;
	
	
	public Member(String name, String sex, Date birthday,
			String telNum) {
		this(name, sex, birthday, telNum, 0, 0, 0, null);
	}
	public Member(String name, String sex, Date birthday,
			String telNum, int credit, int numberOfDiscountCoupon,
			int numberOfEquivalentCoupon, Set<String> bookIDSet) {
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.telNum = telNum;
		this.credit = credit;
		this.numberOfDiscountCoupon = numberOfDiscountCoupon;
		this.numberOfEquivalentCoupon = numberOfEquivalentCoupon;
		this.bookIDSet = bookIDSet;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getTelNum() {
		return telNum;
	}
	public void setTelNum(String telNum) {
		this.telNum = telNum;
	}
	public int getCredit() {
		return credit;
	}
	public void setCredit(int credit) {
		this.credit = credit;
	}
	public int getNumberOfDiscountCoupon() {
		return numberOfDiscountCoupon;
	}
	public void setNumberOfDiscountCoupon(int numberOfDiscountCoupon) {
		this.numberOfDiscountCoupon = numberOfDiscountCoupon;
	}
	public int getNumberOfEquivalentCoupon() {
		return numberOfEquivalentCoupon;
	}
	public void setNumberOfEquivalentCoupon(int numberOfEquivalentCoupon) {
		this.numberOfEquivalentCoupon = numberOfEquivalentCoupon;
	}
	public Set<String> getBookIDSet() {
		return bookIDSet;
	}
	public void setBookIDSet(Set<String> bookIDSet) {
		this.bookIDSet = bookIDSet;
	}
}
